package ua.kyivenergo.cableLines.messages;

/**
 * Created by Alex Kebkalo (kebka@mail.ru) on 30.04.14.
 */
public class Messages {
    public static String getPrefix(String objectType) {
        switch (objectType) {
            case "substation": return "п/с";
            case "street": return "ул.";
            case "alley": return "аллея";
            case "museum": return "музей";
            case "stadium": return "стадион";
            case "square": return "площадь";
            case "lane": return "переулок";
            case "restaurant": return "ресторан";
            case "public_square": return "майдан";
            case "hotel": return "гостинница";
            default: return "";
        }
    }

    public static String getSuffix(String objectType) {
        switch (objectType) {
            case "descent": return "спуск";
            case "road": return "дорога";
            default: return "";
        }
    }
}
